// vim: tabstop=4 shiftwidth=4

// Copyright (c) 2010 , NetEase.com,Inc. All rights reserved.
//
// Author: Yang Bo (pop.atry@gmail.com)
//
// Use, modification and distribution are subject to the "New BSD License"
// as listed at <url: http://www.opensource.org/licenses/bsd-license.php >.

package com.netease.protobuf {
	import flash.utils.IDataInput
	/**
	 *  @private
	 */
	public interface IMessage {
		/**
		 *  @private
		 */
		function readFromSlice(input:IDataInput, bytesAfterSlice:uint):void

		/**
		 *  @private
		 */
		function writeToBuffer(output:WritingBuffer):void
	}
}
